package task;

public class Task4_12 {
    public static void main(String[] args) {
        System.out.println(sum(1, 2));
        System.out.println(sum(1.5, 2.3, 3.3));
    }
    public static int sum(int a,int b){

        return a + b;
    }
    public static double sum(double a,double b,double c){

        return a + b + c;
    }
}
